package com.vogue.supplymall.example.config;

import com.vogue.ssm.database.entity.SnowflakeIdWorker;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * Created by Administrator on 2017-11-27.
 */
@Configuration
@ComponentScan("com.vogue")
@PropertySource("classpath:application.properties")
public class Test {

    public Test(){
        System.out.println(" =========================== "+SnowflakeIdWorker.serno+"   "+SnowflakeIdWorker.dsno+"  "+SnowflakeIdWorker.getIns().nextId());
    }
}
